package com.boc.ewr.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 协议变更申请
 * @Author: jeecg-boot
 * @Date:   2023-04-20
 * @Version: V1.0
 */
@Data
@TableName("protocol_change_apply")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="protocol_change_apply对象", description="协议变更申请")
public class ProtocolChangeApply implements Serializable {
    private static final long serialVersionUID = 1L;
	// 协议号、客户号、客户名称、签约机构名称、机构号、对账联系人（信息）、地址
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**协议号*/
	@Excel(name = "协议号", width = 15)
    @ApiModelProperty(value = "协议号")
    private java.lang.String protocolNo;
	/**客户号*/
	@Excel(name = "客户号", width = 15)
	@ApiModelProperty(value = "客户号")
	private java.lang.String cusmNo;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
	@ApiModelProperty(value = "客户名称")
	private java.lang.String cusmName;
	/**签约机构名称*/
	@Excel(name = "签约机构名称", width = 15)
	@ApiModelProperty(value = "签约机构名称")
	private java.lang.String signedOrgName;
	/**签约机构号*/
	@Excel(name = "签约机构号", width = 15)
	@ApiModelProperty(value = "签约机构号")
	private java.lang.String signedOrg;

	@Excel(name = "对账联系人姓名", width = 15)
    @ApiModelProperty(value = "对账联系人姓名")
    private java.lang.String caContactNm;
	/**对账联系人固定电话*/
	@Excel(name = "对账联系人固定电话", width = 15)
    @ApiModelProperty(value = "对账联系人固定电话")
    private java.lang.String caContactTel;
	/**对账联系人手机*/
	@Excel(name = "对账联系人手机", width = 15)
    @ApiModelProperty(value = "对账联系人手机")
    private java.lang.String caContactPhn;
	/**邮寄地址*/
	@Excel(name = "邮寄地址", width = 15)
    @ApiModelProperty(value = "邮寄地址")
    private java.lang.String postAddress;
	/**变更说明*/
	@Excel(name = "变更说明", width = 15)
	@ApiModelProperty(value = "变更说明")
	private java.lang.String changeNote;

	/**审核状态*/
	@Excel(name = "审核状态", width = 15, dicCode = "process_status")
	@Dict(dicCode = "process_status")
    @ApiModelProperty(value = "审核状态")
    private java.lang.String checkSta;
	/**申请日期*/
	@Excel(name = "申请日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private java.util.Date applyDate;
	/**经办人*/
	@Excel(name = "经办人", width = 15)
    @ApiModelProperty(value = "经办人")
    private java.lang.String operatPsn;
	/**审批人*/
	@Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private java.lang.String approvePsn;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String appendFile;


	// 以下为工作流关联字段
	/** 结果 */
	private Integer result;

	/** 流程实例的编号 */
	private String processInstanceId;

	/** 申请人的用户编号 */
	private String userId;
}
